<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title><?php echo $this->_tpl_vars['lngpack']['member_title'] ?> - <?php echo $this->_tpl_vars['lngpack']['sitename'] ?></title>
<meta name="keywords" content="<?php echo $this->_tpl_vars['lngpack']['keyword'] ?>" />
<meta name="description" content="<?php echo $this->_tpl_vars['lngpack']['description'] ?>" />
<link href="/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo $this->_tpl_vars['rootdir'] ?>js/jquery.js"></script>
<script type="text/javascript" src="<?php echo $this->_tpl_vars['rootdir'] ?>js/basicrun.js"></script>
<script type="text/javascript" src="<?php echo $this->_tpl_vars['rootdir'] ?>js/ajax_city.js"></script>
<script type="text/javascript" src="<?php echo $this->_tpl_vars['rootdir'] ?>js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript">
$().ready(function() {
	$("#clickmenubotton li span").hover(function() {
		$(this).addClass("bgmenuhove2");
		$(this).parent().find("ul.subnav").slideDown('fast').show(); 
		$(this).parent().hover(function() {}, function(){
			$(this).parent().find("ul.subnav").fadeOut('fast');
			$(this).parent().find("span").removeClass("bgmenuhove2");
		});
	});
});
</script>
</head>

<body>
<div class="all">
	885BA145EFC8431D34F5CC06D142F143default/en/public/head2.html|885BA145EFC8431D34F5CC06D142F143

				<?php if($this->_tpl_vars['out']=='center'){ ?>
				<script type="text/javascript">
				  window.location.href = "/html/en/";
				</script>
				<?php } elseif($this->_tpl_vars['out']=='editinfo'){ ?>
				<!--个人资料修改-->
				<script type="text/javascript">
				var birthday_empty = "<?php echo $this->_tpl_vars['lngpack']['birthday_empty'] ?>";
				var qq_empty = "<?php echo $this->_tpl_vars['lngpack']['qq_empty'] ?>";

				function editinfo(){
					if(document.editmember.birthday.value!=""){
						if(document.editmember.birthday.value.match(/^[1-9][0-9]{3}\-[0-9]{2}\-[0-9]{2}$/ig)==null) {
							document.editmember.birthday.focus();
							alert(birthday_empty);
							return false;
						}
					}
					if(document.editmember.qq.value!=""){
						if(document.editmember.qq.value.match(/^[0-9]+$/ig)==null) {
							document.editmember.qq.focus();
							alert(qq_empty);
							return false;
						}
					}
					<?php if (count($this->_tpl_vars['modelatt'])>0){$divid_i=1;for($i=0;$i<count($this->_tpl_vars['modelatt']); $i++){?>
						<?php if($this->_tpl_vars['modelatt'][$i]['isvalidate']==1){ ?>
							<?php if($this->_tpl_vars['modelatt'][$i]['validatetext']!=''){ ?>
								if(document.editmember.<?php echo $this->_tpl_vars['modelatt'][$i]['attrname'] ?>.value.match(<?php echo $this->_tpl_vars['modelatt'][$i]['validatetext'] ?>ig)==null) {
							<?php }else{ ?>
								if(document.editmember.<?php echo $this->_tpl_vars['modelatt'][$i]['attrname'] ?>.value==''){
							<?php } ?>
							document.editmember.<?php echo $this->_tpl_vars['modelatt'][$i]['attrname'] ?>.focus();
							alert('<?php echo $this->_tpl_vars['modelatt'][$i]['typename'] ?> Input errors');
							return false;
						}
						<?php } ?>
					<?php }} ?>
				}
				</script>
                
                <div class="content">
                    <div class="clear"></div>
                    <div class="denglu zhuce">
                        <form name="editmember" id="editmember" method="post" action="<?php echo $this->_tpl_vars['mlink']['membersave'] ?>" onsubmit="return editinfo()">
                        <input type="hidden" name="upurl" value="<?php echo $this->_tpl_vars['upurl'] ?>">
                        <input type="hidden" name="inputclass" value="editinfo">
                        <input type="hidden" name="userid" value="<?php echo $this->_tpl_vars['member']['userid'] ?>">
                        <input type="hidden" name="username" value="<?php echo $this->_tpl_vars['member']['username'] ?>">
                        <input type="hidden" name="email" value="<?php echo $this->_tpl_vars['member']['email'] ?>">
                        <input type="hidden" name="mvid" value="<?php echo $this->_tpl_vars['member']['mvid'] ?>">
                        <span>Member ID:</span> <?php echo $this->_tpl_vars['member']['username'] ?><br />
                        <span>Mobile:</span><input  class="input1" name="mobile" type="text" value="<?php echo $this->_tpl_vars['member']['mobile'] ?>" /><br />
                        <input class="submit" name="submit" value="submit"  type="submit" /> <input class="cancel" name="cancel" value="cancel" type="reset" />
                        </form>
                    </div>
                </div>

				<?php } elseif($this->_tpl_vars['out']=='editpassword'){ ?>
				<!--密码修改-->
				<script type="text/javascript">
					var oldpassword_err = "<?php echo $this->_tpl_vars['lngpack']['oldpassword_err'] ?>";
					var password_len = "<?php echo $this->_tpl_vars['lngpack']['password_err'] ?>";
					var password_len2 = "<?php echo $this->_tpl_vars['lngpack']['password_len2'] ?>";
					var password2_empty = "<?php echo $this->_tpl_vars['lngpack']['password2_err'] ?>";
					var password_disaffinity = "<?php echo $this->_tpl_vars['lngpack']['password_equal'] ?>";
				</script>
                
                <div class="content">
                    <div class="clear"></div>
                    <div class="denglu zhuce">
                    
                        <form name="editmember" id="editmember" method="post" action="<?php echo $this->_tpl_vars['mlink']['membersave'] ?>" onsubmit="return editpassword()">
                        <input type="hidden" name="upurl" value="<?php echo $this->_tpl_vars['upurl'] ?>">
                        <input type="hidden" name="inputclass" value="editpassword">
                        <input type="hidden" name="userid" value="<?php echo $this->_tpl_vars['member']['userid'] ?>">
                        <input type="hidden" name="username" value="<?php echo $this->_tpl_vars['member']['username'] ?>">
                        <input type="hidden" name="email" value="<?php echo $this->_tpl_vars['member']['email'] ?>">
            
                        <span>Member ID:</span><?php echo $this->_tpl_vars['member']['username'] ?><br />
                        <span>Old Password:</span><input  class="input1" name="oldpassword" type="text" /><br />
                        <span>New Password:</span><input  class="input1" name="password" type="text" /><br />
                        <span>Confirm Password:</span><input  class="input1" name="password2" type="text" /><br />
                        <input class="submit" name="submit" value="submit"  type="submit" /> <input class="cancel" name="cancel" value="cancel" type="reset" />
                        
                        </form>
                    </div>
                </div>
        

				<?php } elseif($this->_tpl_vars['out']=='editemail'){ ?>
				<!--邮箱修改-->
				<script type="text/javascript">
					var password_len = "<?php echo $this->_tpl_vars['lngpack']['password_err'] ?>";
					var email_err = "<?php echo $this->_tpl_vars['lngpack']['email_err'] ?>";
				</script>
                
                <div class="content">
                    <div class="clear"></div>
                    <div class="denglu zhuce">
                    
                        <form name="editmember" id="editmember" method="post" action="<?php echo $this->_tpl_vars['mlink']['membersave'] ?>" onsubmit="return editmail()">
                        <input type="hidden" name="upurl" value="<?php echo $this->_tpl_vars['upurl'] ?>">
                        <input type="hidden" name="inputclass" value="editmail">
                        <input type="hidden" name="userid" value="<?php echo $this->_tpl_vars['member']['userid'] ?>">
                        <input type="hidden" name="username" value="<?php echo $this->_tpl_vars['member']['username'] ?>">
                                
                        <span>Member ID:</span> <?php echo $this->_tpl_vars['member']['username'] ?><br />
                        
                        <span>Old e-mail address:</span> <?php echo $this->_tpl_vars['member']['email'] ?><br />
                        
                        <span>Password:</span><input type="password" name="password" id="password" class="input1"/><br />
                        
                        <span>New e-mail address:</span><input type="text" name="email" id="email" class="input1" /><br />
                        
                        <input class="submit" name="submit" value="submit"  type="submit" /> <input class="cancel" name="cancel" value="cancel" type="reset" />
                        </form>
                    </div>
                </div>

				<?php } elseif($this->_tpl_vars['out']=='orderlist'){ ?>
				<?php } elseif($this->_tpl_vars['out']=='orderread'){ ?>
				<?php } elseif($this->_tpl_vars['out']=='enquirylist'){ ?>
				<?php } elseif($this->_tpl_vars['out']=='enquiryread'){ ?>
				<?php } elseif($this->_tpl_vars['out']=='forumlist'){ ?>
				<?php } ?>
885BA145EFC8431D34F5CC06D142F143default/en/public/footer.html|885BA145EFC8431D34F5CC06D142F143
</div>
</body>

</html>
